package cn.lzy.demo;

/**
 * @Description 租客
 * @Author lzy
 * @Date 2023/12/8 1:54
 * @Version
 **/
public class Client {
    public static void main(String[] args) {
        // 有一个房东
        Landlord landlord = new Landlord();
        // 房东找了个中介
        HouseAgent houseAgent = new HouseAgent(landlord);
        // 中介将房屋出租
        houseAgent.rent();
    }
}
